// --------------------------------------------------------------------------------------------------------------------- 
// <copyright file="ConnectionStateChangedEventArgs.cs" company="Scrum for Team System">
//   None
// </copyright>
// <summary>
//   Defines the ConnectionStateChangedEventArgs type.
// </summary>
// ---------------------------------------------------------------------------------------------------------------------
namespace ScrumForTeamSystem.EventService.Infrastructure
{
    using System;

    using ScrumForTeamSystem.EventService.Infrastructure.Enums;

    /// <summary>
    /// Defines the ConnectionStateChangedEventArgs type.
    /// </summary>
    public class ConnectionStateChangedEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ConnectionStateChangedEventArgs"/> class.
        /// </summary>
        /// <param name="connectionState">
        /// The connection state.
        /// </param>
        public ConnectionStateChangedEventArgs(ConnectionState connectionState)
        {
            this.ConnectionState = connectionState;
        }

        /// <summary>
        /// Gets or sets ConnectionState.
        /// </summary>
        /// <value>
        /// The connection state.
        /// </value>
        public ConnectionState ConnectionState
        {
            get;
            set;
        }
    }
}